package com.mc.designpattern.qiaojie;


public class UrgencyNotification extends Notification {
    public UrgencyNotification(MsgSender msgSender) {
        super(msgSender);
    }

    @Override
    public void notify(String message) {
        msgSender.send(message);

    }
// 与SevereNotification代码结构类似，所以省略...
}